$OpenBSD: patch-tcg_ppc_tcg-target_inc_c,v 1.4 2017/04/23 13:24:17 ajacoutot Exp $
--- tcg/ppc/tcg-target.inc.c.orig	Tue Apr 11 14:00:36 2017
+++ tcg/ppc/tcg-target.inc.c	Tue Apr 11 21:38:10 2017
@@ -2900,4 +2900,11 @@ static void __attribute__((constructor)) tcg_cache_ini
     dcache_bsize = cacheline;
     icache_bsize = cacheline;
 }
+
+#elif defined(__OpenBSD__)
+static void __attribute__((constructor)) tcg_cache_init(void)
+{
+    dcache_bsize = 32;
+    icache_bsize = 32;
+}
 #endif
